package com.ruoyi.mdm.service;

import java.util.List;

import com.ruoyi.mdm.domain.ChannelWeight;

/**
 * 渠道权重Service接口
 *
 * @author shiseido
 * @date 2025-02-28
 */
public interface IChannelWeightService {
    /**
     * 查询渠道权重
     *
     * @param id 渠道权重主键
     * @return 渠道权重
     */
    public ChannelWeight selectChannelWeightById(Long id);

    /**
     * 查询渠道权重列表
     *
     * @param channelWeight 渠道权重
     * @return 渠道权重集合
     */
    public List<ChannelWeight> selectChannelWeightList(ChannelWeight channelWeight);

    /**
     * 新增渠道权重
     *
     * @param channelWeight 渠道权重
     * @return 结果
     */
    public int insertChannelWeight(ChannelWeight channelWeight);

    /**
     * 修改渠道权重
     *
     * @param channelWeight 渠道权重
     * @return 结果
     */
    public int updateChannelWeight(ChannelWeight channelWeight);

    /**
     * 删除渠道权重信息
     *
     * @param channelCode 渠道编码
     * @return 结果
     */
    public int deleteChannelWeightByChannelCode(String channelCode);

    /**
     * 批量删除渠道权重
     *
     * @param ids 需要删除的渠道权重主键集合
     * @return 结果
     */
    public int deleteChannelWeightByIds(Long[] ids);

    /**
     * 删除渠道权重信息
     *
     * @param id 渠道权重主键
     * @return 结果
     */
    public int deleteChannelWeightById(Long id);
}
